﻿using System;
using System.Collections.Generic;
using System.Text;
using CFSystem.JXC.Model;

namespace CFSystem.JXC.IDAL
{
    public interface IVendor
    {
        /// <summary>
        /// Method to get all VendorInfo
        /// </summary>		
        /// <returns>Interface to Model Collection Generic of categories</returns>
        IList<VendorInfo> GetVendors();

        /// <summary>
        /// Get information on a specific category
        /// </summary>
        /// <param name="categoryId">Unique identifier for a category</param>
        /// <returns>Business Entity representing an category</returns>
        VendorInfo GetVendor(int VendorID);

        /// <summary>
        /// insert
        /// </summary>
        /// <param name="VendorName"></param>
        void InsertVendor(VendorInfo  vendor);

        /// <summary>
        /// del
        /// </summary>
        /// <param name="VendorID"></param>
        void DelVendorByID(int VendorID);
        /// <summary>
        /// 
        /// </summary>
        /// <param name="VendorID"></param>
        void UpdateVendorByID(VendorInfo vendor);
    }
}
